//
// Created by 51165 on 2025/10/21.
//
#include <stdio.h>


int main() {
    int y = 0;
    scanf("%d", &y);
    int r = is_leap_year(y);
    if(r == 1)
        printf("闰年\n");
    else
        printf("⾮闰年\n");
    return 0;
}

//判断⼀年是不是闰年

int is_leap_year(int y)
{
    if(((y%4==0)&&(y%100!=0)) || (y%400==0))
        return 1;
    else
        return 0;
}